Skip to main content

Reply to this post | See parent post | Go Back
View Post [edit]

Poster: jonc Date: May 29, 2009 11:05am
Forum: texts Subject: Re: A little p.s. about Google scans of post-1922 journals

"Thanks for the tip. It should theoretically be possible to automate the process - turning the page, screen shot, build PDF with cropping - with scripting tools."

Try opening the pages in tabs and using ImageMagick's import tool. This script will generate 10 PNG images in Linux:

# Assign a unique file name
nano=`date '+%d%b%y-%N'`;

# Take the screenshots
import -snaps 10 -pause 5 $file;

Import will capture the full window on a click, or just the selection. "pause" is the time, in seconds, between captures. From there, it should be as simple as inserting the images in a PDF editor.